package com.company.example.service.impl;

import java.util.List;

import org.springframework.data.mongodb.core.query.Query;
import org.springframework.stereotype.Service;

import com.company.example.model.pojo.Account;
import com.company.example.service.MUserService;


//@Service
public class MUserServiceImpl extends MongoDBServiceImpl implements MUserService{

	@Override
	public List<Account> selectAccount() {
		return this.getMongoTemplate().find(new Query(), Account.class);
	}
}
